<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <style>
        .fromDiv {
            background: #cdcdcd;
            width: 500px;
            height: 300px;
            text-align:center;
            margin: 0 auto;
            padding-top: 50px;
        }

        .myButton{
            width: 270px;
            height: 35px;
            background-color: aqua;
        }

        .myA {
            padding-left: 20px;
            color:green;
            font-size:10px;
            text-decoration : none;
        }
    </style>
</head>
<body>

<div>
    <div class="fromDiv">
        <form>
            <p>邮    箱: <input type="text" name="firstname"></p>
            <p>密    码: <input type="text" name="lastname"></p>
            <p>确认密码: <input type="text" name="lastname"></p>
            <p>验 证 码: <input type="text" name="lastname"><a href="register.html" class="myA">注册新账号</a></p>
            <p><input type="button" value="注册" class="myButton"></p>
        </form>
    </div>
</div>
</body>
</html>